<?php
header("Content-type: text/plain");
?>
generator|Internode Usage v.<?= $this->api->internode_version ?> - PHP <?= phpversion() ?> <?= strftime("%d/%m/%Y %H:%M:%S %Z") ?> 
account|<?= $this->api->username ?>@internode.on.net
used|<?= sprintf("%f", $this->api->used/1000 ) ?> Gb
<? if(!$this->unlimited) : ?>
quota|<?= sprintf("%.2f", $this->api->quota/1000 ) ?> Gb
remaining|<?= sprintf("%.2f", $this->api->quota_remaining/1000 ) ?> Gb
percentage|<?= sprintf("%.2f", $this->api->quota_percentage ) ?> %
remaining per day|<?= sprintf("%.2f", ($this->api->quota_remaining / $this->api->days_remaining) ) ?> Mb
<? endif; ?>